#include "Theme.h"
#include "Defines.h"

extern Theme thm;

bool setTheme(int option) {
  switch(option) {
      case OPT_THM_ZEBRA:
        thm = Theme(Color(0.0, 0.0, 0.0, 1.0),
                    Color(1.0, 1.0, 1.0, 1.0),
                    Color(0.0, 0.0, 0.0, 1.0),
                    Color(0.0, 0.0, 0.0, 1.0),
                    Color(0.8, 0.8, 0.8, 1.0),
                    Color(1.0, 0.0, 0.0, 0.5),
                    Color(1.0, 0.8, 0.8, 0.8),
                    Color(0.0, 0.0, 0.8, 0.8),
                    Color(0.8, 1.0, 0.8, 0.8),
                    Color(0.8, 0.8, 1.0, 0.8),
                    Color(0.0, 0.0, 0.0, 0.5),
                    Color(1.0, 1.0, 1.0, 1.0));
        break;
      case OPT_THM_GOGIRL:
        thm = Theme(Color(1.0, 0.71, 0.76, 1.0), // pink
                    Color(1.0, 1.0, 1.0, 1.0),
                    Color(0.0, 0.0, 0.0, 1.0),
                    Color(0.0, 0.0, 0.0, 1.0),
                    Color(0.8, 0.8, 0.8, 1.0),
                    Color(0.266666667, 0.941176471, 0.984313725, 0.8), // blue
                    Color(1.0, 0.71, 0.76, 0.8), // pink
                    Color(0.937254902, 0.82745098, 0.219607843, 0.8), // golden
                    Color(0.874509804, 0.137254902, 0.760784314, 0.8), // hot pink
                    Color(0.8, 0.8, 1.0, 0.8),
                    Color(0.0, 0.0, 0.0, 0.5),
                    Color(1.0, 1.0, 1.0, 1.0));
        break;
      case OPT_THM_DRACULA:
        thm = Theme(Color(1.0, 0.0, 0.0, 1.0),
                    Color(1.0, 1.0, 1.0, 1.0),
                    Color(0.0, 0.0, 0.0, 1.0),
                    Color(0.0, 0.0, 0.0, 1.0),
                    Color(0.8, 0.8, 0.8, 1.0),
                    Color(0.0, 0.0, 0.0, 0.8),
                    Color(1.0, 0.8, 0.8, 0.8),
                    Color(0.8, 1.0, 0.8, 0.8),
                    Color(0.0, 0.0, 0.8, 0.8),
                    Color(0.8, 0.8, 1.0, 0.8),
                    Color(0.0, 0.0, 0.0, 0.5),
                    Color(1.0, 1.0, 1.0, 1.0));
        break;
      case OPT_THM_TAMU:
        thm = Theme(Color(0.31372549, 0.0, 0.0, 1.0), // official Aggie Maroon is 0x500000
                    Color(0.443137255, 0.439215686, 0.450980392, 1.0), // official Aggie Grey is 0x717073
                    Color(0.71372549, 0.721568627, 0.729411765, 1.0), // official Aggie accent color (light grey) is 0xb6b8ba
                    Color(0.71372549, 0.721568627, 0.729411765, 1.0), // official Aggie accent color (light grey) is 0xb6b8ba
                    Color(0.71372549, 0.721568627, 0.729411765, 1.0), // official Aggie accent color (light grey) is 0xb6b8ba
                    Color(1.0, 0.760784314, 0.133333333, 1.0), // official Aggie accent color (yellow) is 0xffc222
                    Color(0.784313725, 0.694117647, 0.545098039, 1.0), // official Aggie accent color (tan) is 0xc8b18b
                    Color(0.474509804, 0.325490196, 0.0, 1.0), // official Aggie accent color (brown) is 0x795300
                    Color(0.0, 0.407843137, 0.57254902, 1.0), // official Aggie accent color (blue) is 0x006892
                    Color(0.247058824, 0.298039216, 0.0, 1.0), // official Aggie accent color (green) is 0x3f4c00
                    Color(0.0, 0.0, 0.0, 0.5),
                    Color(0.71372549, 0.721568627, 0.729411765, 1.0)); // official Aggie accent color (light grey) is 0xb6b8ba
        break;
      default:
        return false;
  }
  return true;
}